<?php
/**
 * Adds jQuery to the page using Google's Javascript Libraries Service. Google hosts
 * many javascript libraries and jQuery is one of them.
 */
class ImpSoft_View_Helper_Jquery
{
    /**
     * The view object that created this helper object.
     * @var Zend_View
     */
    public $view;
    
    public function jquery() {
    
        $this->view->headScript()->prependFile('http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js');
    
    }
    /**
     * Set view object
     *
     * @param  Zend_View_Interface $view
     * @return Zend_View_Helper_DeclareVars
     */
    public function setView(Zend_View_Interface $view)
    {
        $this->view = $view;
        return $this;
    }
}
